package com.keshan.mapper;

import com.keshan.pojo.SwitchMachine;
import com.keshan.pojo.SwitchMachineExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SwitchMachineMapper {
    int countByExample(SwitchMachineExample example);

    int deleteByExample(SwitchMachineExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SwitchMachine record);

    int insertSelective(SwitchMachine record);

    List<SwitchMachine> selectByExample(SwitchMachineExample example);

    SwitchMachine selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SwitchMachine record, @Param("example") SwitchMachineExample example);

    int updateByExample(@Param("record") SwitchMachine record, @Param("example") SwitchMachineExample example);

    int updateByPrimaryKeySelective(SwitchMachine record);

    int updateByPrimaryKey(SwitchMachine record);
}